package com.hst.capacity.domain.service;

import com.hst.capacity.domain.model.entity.order.express.ExpressOrderEntity;
import com.hst.capacity.domain.model.entity.order.intercity.IntercityOrderEntity;
import com.hst.capacity.domain.model.request.OrderParam;
import com.hst.capacity.domain.model.request.dispatch.DispatchPartyDriverParam;
import com.hst.capacity.domain.model.request.express.ExListNewParam;
import com.hst.capacity.domain.model.request.intercity.IcListNewParam;
import com.hst.capacity.domain.model.response.PagingResultVO;
import com.hst.capacity.domain.model.response.order.OrderVO;

/**
 *  "城际订单"领域服务接口
 *
 * */
public interface IntercityService {

    /**
     * 分页并条件查询今日城际录单信息
     * @param param
     * @return
     */
    PagingResultVO<IntercityOrderEntity> searchWithConditionsAndPaging(IcListNewParam param);

    OrderVO virtualAcceptOrder(String idOrder, String idDriver);

    int acceptOrder(OrderParam param);

    boolean dispatchPartyDriver(DispatchPartyDriverParam param);

    OrderVO findOrderByIdOrder(String idOrder);

    String findLineName(String idLine);

}
